package com.jobboard.subject.domain.handler.subject;

import com.jobboard.subject.common.enums.SubjectInfoTypeEnum;
import com.jobboard.subject.domain.entity.SubjectInfoBO;
import com.jobboard.subject.domain.entity.SubjectOptionBO;
import com.jobboard.subject.infra.basic.entity.SubjectInfo;

public interface SubjectTypeHandler {

    /**
     * 题目类别身份识别
     * @return
     */
    SubjectInfoTypeEnum getHandlerType();

    /**
     * 实际题目的插入
     * @param subjectInfoBO
     */
    void add(SubjectInfoBO subjectInfoBO);

    SubjectOptionBO query(Long subjectId);
}
